package route

import (
	"github.com/kataras/iris"
	"github.com/kataras/iris/mvc"
	"github.com/kongyixueyuan.com/kongyixueyuan/web/controllers"
)

func InitRouter(app *iris.Application) {
	mvc.New(app.Party("/user")).Handle(controllers.NewUserController())     // user 交互路由
	mvc.New(app.Party("/fabric")).Handle(controllers.NewFabricController()) // fabric
}
